/*
 * @Autor: mofish
 * @Date: 2022-08-25 11:20:59
 * @LastEditors: mofish
 * @LastEditTime: 2022-08-25 13:41:33
 * @Description: inquirer 交互
 */
const continueToInstall = {
  type: "confirm",
  name: "next",
  message: "continue to install the project",
  default: true,
};
const installTool = {
  name: "tool",
  type: "list",
  message: "select the package management",
  choices: ["npm", "yarn", "pnpm", "tnpm"],
  default: "npm",
};

const projectInfo = [
  {
    name: "description",
    message: "Please enter the project description",
  },
  {
    name: "author",
    message: "Please enter the project author",
    default: "robot",
  },
];

module.exports = {
  continueToInstall,
  installTool,
  projectInfo,
};
